package com.kujie.access.domain.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.kujie.common.tenant.core.TenantEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDate;

/**
 * 租户管理表
 *
 * @author jyy
 * @date 2025-05-26
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "access_tenant_management")
public class AccessTenantManagement extends TenantEntity implements Serializable {
    @Serial
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 企业uuid
     */
    @TableField(value = "company_uuid")
    private String companyUuid;

    /**
     * 企业名称
     */
    @TableField(value = "company_name")
    private String companyName;

    /**
     * 企业法人
     */
    @TableField(value = "company_legel_person")
    private String companyLegelPerson;

    /**
     * 法人联系电话
     */
    @TableField(value = "legel_person_phone")
    private String legelPersonPhone;

    /**
     * 法人身份证号
     */
    @TableField(value = "legel_id_card")
    private String legelIdCard;

    /**
     * 统一社会信用代码
     */
    @TableField(value = "unified_social_credit_identifier")
    private String unifiedSocialCreditIdentifier;

    /**
     * 行政联系人（企业联系人）
     */
    @TableField(value = "administrative_contact_person")
    private String administrativeContactPerson;

    /**
     * 行政联系电话（企业联系人电话）
     */
    @TableField(value = "administrative_contact_person_phone")
    private String administrativeContactPersonPhone;

    /**
     * 行业
     */
    @TableField("industry_type")
    private String industryType;


    /**
     * 主营业务
     */
    @TableField(value = "main_business")
    private String mainBusiness;

    /**
     * 成立时间
     */
    @TableField(value = "established_time")
    private LocalDate establishedTime;

    /**
     * 企业注册地址
     */
    @TableField(value = "business_registration_address")
    private String businessRegistrationAddress;

    /**
     * 实际办公地址
     */
    @TableField(value = "actual_office_address")
    private String actualOfficeAddress;

    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;
}
